package com.ruoyi.voucher.domain.dto;

import com.ruoyi.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 凭证导入对象
 */
public class VoucherImportDTO {

    /** 凭证字号 */
    @Excel(name = "凭证字号", required = false)
    private String voucherNo;

    /** 开票日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd", required = false)
    private Date voucherDate;

    /** 账期YYYYMM */
    @Excel(name = "账期", required = false)
    private String accountPeriod;

    /** 附单据数量 */
    @Excel(name = "附单据数量", required = false)
    private Long attachmentCount;

    /** 合计金额 */
    @Excel(name = "合计金额", required = false)
    private BigDecimal totalAmount;

    /** 账套ID */
    @Excel(name = "账套ID", required = false)
    private Long accountId;

    /** 凭证字ID */
    @Excel(name = "凭证字ID", required = false)
    private Long wordId;

    // getter 和 setter 方法
    public String getVoucherNo() {
        return voucherNo;
    }

    public void setVoucherNo(String voucherNo) {
        this.voucherNo = voucherNo;
    }

    public Date getVoucherDate() {
        return voucherDate;
    }

    public void setVoucherDate(Date voucherDate) {
        this.voucherDate = voucherDate;
    }

    public String getAccountPeriod() {
        return accountPeriod;
    }

    public void setAccountPeriod(String accountPeriod) {
        this.accountPeriod = accountPeriod;
    }

    public Long getAttachmentCount() {
        return attachmentCount;
    }

    public void setAttachmentCount(Long attachmentCount) {
        this.attachmentCount = attachmentCount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public Long getWordId() {
        return wordId;
    }

    public void setWordId(Long wordId) {
        this.wordId = wordId;
    }
}
